﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <script language="JavaScript" type="text/javaScript">

        let president = "jiangxi"; //字符串型
        let pi = 3.14159;   //数值型
        let visited = false;   //逻辑型
        document.write(" president：" + president + "<p>" + "pi：" + pi + "<p>" + "visited：" + visited); //将以上三种类型合并输出//-->
    </script>
</body>
</html>